include(../../common.pri)

QT       += core gui xml

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = app
TEMPLATE = app
DESTDIR = $$APP_PATH

SOURCES += main.cpp\
        mainwindow.cpp \
    pageandview/pagewidget.cpp \
    pageandview/pagemanager.cpp \
    pageandview/viewmanager.cpp \
    pageandview/viewwidget.cpp

HEADERS  += mainwindow.h \
    pageandview/pagewidget.h \
    pageandview/pagemanager.h \
    pageandview/viewmanager.h \
    pageandview/viewwidget.h \
    pageandview/common.h

FORMS    += mainwindow.ui

win32:CONFIG(release, debug|release): LIBS += -L$$APP_PATH -lpluginextension
else:win32:CONFIG(debug, debug|release): LIBS += -L$$APP_PATH -lpluginextension
else:unix: LIBS += -L$$APP_PATH -lpluginextension

INCLUDEPATH += $$PWD/../libs/pluginextension
DEPENDPATH += $$PWD/../libs/pluginextension

win32:CONFIG(debug, debug|release):CONFIG += console
